<?php

namespace app\servercertificate\service\certificate;
use app\manage\service\ApiBase;

/**
 * @author:      李颖
 * @DateTime:    2017-12-22 14:33:50
 * @Description: 证书的积分派发记录
 */

class CertificateIntegralDistribute extends ApiBase
{

	protected $certificateIntegralDistributeLogic = 'app\servercertificate\logic\CertificateIntegralDistribute';
    protected $certificateIntegralDistributeValidate = 'app\servercertificate\validate\CertificateIntegralDistribute';

    /*获取我的昨日收益总计*/
    public function myYesterdayEarnings(): array 
    {
    	$data = $this->haveIssetReceiveData(['user_id'=>0]);
    	return $this->stepRun($data, 'myYesterdayEarnings');
    }






}